package com.cdl.utils.bean;

import java.util.List;

public class TableInfo {

	private String tableName ;       //数据库表名
	private String lowerTableName;   //小写的表名称 
	private String className  ;      //根据表名生成 的类名称
	private String lowerClassName ;     	 //小写的类名称
	
    private List<ColumnInfo> columns ;   //列信息和属性信息
    private List<IndexInfo> indexs ;     //索引信息
    
    private IndexInfo uniqueIndex ;      //唯一索引(作为主键)
    
	private PropertyInfo url ;    //文件落地路径和包信息
    
    public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	public String getLowerTableName() {
		return lowerTableName;
	}
	public void setLowerTableName(String lowerTableName) {
		this.lowerTableName = lowerTableName;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}

	public String getLowerClassName() {
		return lowerClassName;
	}
	public void setLowerClassName(String lowerClassName) {
		this.lowerClassName = lowerClassName;
	}
	public List<ColumnInfo> getColumns() {
		return columns;
	}
	public void setColumns(List<ColumnInfo> columns) {
		this.columns = columns;
	}
	public List<IndexInfo> getIndexs() {
		return indexs;
	}
	public void setIndexs(List<IndexInfo> indexs) {
		this.indexs = indexs;
	}
	public IndexInfo getUniqueIndex() {
		return uniqueIndex;
	}
	public void setUniqueIndex(IndexInfo uniqueIndex) {
		this.uniqueIndex = uniqueIndex;
	}
	
	public PropertyInfo getUrl() {
		return url;
	}
	public void setUrl(PropertyInfo url) {
		this.url = url;
	}
	
	@Override
	public String toString() {
		return "TableInfo [tableName=" + tableName + ", lowerTableName="
				+ lowerTableName + ", className=" + className
				+ ", lowerClassName=" + lowerClassName + ", columns=" + columns
				+ ", indexs=" + indexs + ", uniqueIndex=" + uniqueIndex
				+ ", url=" + url + "]";
	}
	
    
}
